<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var obj = new Object();// 创建了空对象
        obj.species = 'ren';
        function Animal() {}   
        Animal.prototype=obj;
        function Person() {}
        Person.prototype = new Animal();
        var su = new Person();
        // 原型链查找机制
        console.log(su.species,su.__proto__);

    </script>
</body>
</html>